Barack Obama entered into the French presidential election when he called centrist front-runner Emmanuel Macron on Thursday.